import Vue from 'vue'
import Router from 'vue-router'
import Design from '../components/design.vue'
import Home from '../components/home/home.vue'
import Theme from '../components/theme/theme.vue'
import Mine from '../components/mine/mine.vue'
import Star from '../components/collection/collection'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/design',
      name: 'Design',
      component: Design
    },
    {
      path: '/theme',
      name: 'theme',
      component: Theme
    },
    {
      path: '/mine',
      name: ' mine',
      component: Mine
    },
    {
      path: '/star',
      name: 'star',
      component: Star
    }
  ]
})
